package fr.umlv.m2.uwp2011.persistence.matiere;

import java.io.Serializable;
import java.util.Iterator;
import java.util.List;



@SuppressWarnings("serial")
public class TroncCommun implements Serializable {

	private Long id;

	private String libelle;
	

	private List<Matiere> listMatiere;
	

	private List<Cursus> listCursus;

	public String getLibelle() {
		return libelle;
	}

	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}

	public Long getId() {
		return id;
	}

	public void setListMatiere(List<Matiere> listMatiere) {
		this.listMatiere = listMatiere;
	}
	
	public Iterator<Cursus> iteratorCursus() {
		return listCursus.iterator();
	}

	public void setListCursus(List<Cursus> listCursus) {
		this.listCursus = listCursus;
	}

	public Iterator<Matiere> iteratorMatiere() {
		return listMatiere.iterator();
	}

	public void setId(long id) {
		this.id = id;
	}
}
